package cn.q3c.web.tool.object;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 图片表对应
 * @author wangxinning
 *
 */
public class Image {

	public int getNid() {
		return nid;
	}
	public void setNid(int nid) {
		this.nid = nid;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getLocalfile() {
		return localfile;
	}
	public void setLocalfile(String localfile) {
		this.localfile = localfile;
	}
	public Date getCdate() {
		return cdate;
	}
	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}
	public Date getUdate() {
		return udate;
	}
	public void setUdate(Date udate) {
		this.udate = udate;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	
	private int nid;
	private String url;
	private String localfile;
	private Date cdate;
	private Date udate;
	private int length;
	private int width;
	
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
}
